<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>失物详情 - 校园实物招领</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#3B82F6',
                        secondary: '#10B981'
                    },
                    borderRadius: {
                        'none': '0px',
                        'sm': '2px',
                        DEFAULT: '4px',
                        'md': '8px',
                        'lg': '12px',
                        'xl': '16px',
                        '2xl': '20px',
                        '3xl': '24px',
                        'full': '9999px',
                        'button': '4px'
                    }
                }
            }
        }
    </script>
    <style>
        .fa-icon {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .image-container {
            background-image: url('https://ai-public.mastergo.com/gen_page/map_placeholder_1280x720.png');
            background-size: cover;
            background-position: center;
        }
    </style>
</head>
<body class="min-h-[1024px] bg-gray-50 text-gray-800">
    <div class="max-w-4xl mx-auto pb-24">
        <!-- 顶部导航 -->
        <header class="sticky top-0 z-10 bg-white shadow-sm py-4 px-6">
            <div class="flex items-center justify-between">
                <button class="flex items-center text-gray-600 hover:text-primary">
                    <i class="fas fa-chevron-left fa-icon w-5 h-5 mr-2"></i>
                    <span>返回</span>
                </button>
                <h1 class="text-xl font-semibold">失物详情</h1>
                <button class="text-gray-500 hover:text-red-500">
                    <i class="fas fa-flag fa-icon w-5 h-5"></i>
                </button>
            </div>
        </header>

        <!-- 物品状态标签 -->
        <div class="px-6 mt-4">
            <span class="inline-block px-3 py-1 bg-red-100 text-red-600 rounded-full text-sm font-medium">未认领</span>
        </div>

        <!-- 物品图片轮播 -->
        <div class="mt-4 relative">
            <div class="h-80 w-full bg-gray-200 overflow-hidden rounded-xl">
                <img src="https://ai-public.mastergo.com/ai/img_res/92b288c9099c1c14f26e4f24a8da3e22.jpg" 
                     alt="物品图片" class="w-full h-full object-cover object-center">
            </div>
            <div class="absolute bottom-4 right-4 flex space-x-2">
                <span class="inline-block px-2 py-1 bg-black bg-opacity-50 text-white text-xs rounded">1/3</span>
            </div>
        </div>

        <!-- 物品基本信息 -->
        <div class="px-6 mt-6">
            <h2 class="text-2xl font-bold">黑色皮质钱包</h2>
            <div class="flex items-center mt-2 text-gray-500 text-sm">
                <span>发布于 2023-11-15 14:30</span>
                <span class="mx-2">•</span>
                <span>浏览 128 次</span>
            </div>

            <div class="mt-4 grid grid-cols-3 gap-4 bg-gray-100 p-4 rounded-lg">
                <div>
                    <p class="text-gray-500 text-sm">拾取地点</p>
                    <p class="font-medium">图书馆三楼自习区</p>
                </div>
                <div>
                    <p class="text-gray-500 text-sm">拾取时间</p>
                    <p class="font-medium">2023-11-15 13:45</p>
                </div>
                <div>
                    <p class="text-gray-500 text-sm">物品类别</p>
                    <p class="font-medium">钱包/卡包</p>
                </div>
            </div>
        </div>

        <!-- 详细信息区块 -->
        <div class="px-6 mt-6">
            <h3 class="text-lg font-semibold mb-3">物品描述</h3>
            <p class="text-gray-700 leading-relaxed">
                在图书馆三楼自习区拾到一个黑色皮质钱包，内有校园卡、身份证和几张银行卡。钱包为长款折叠式，品牌为Coach，内侧有拉链小袋。希望失主尽快认领。
            </p>

            <div class="mt-6">
                <h3 class="text-lg font-semibold mb-3">特征标签</h3>
                <div class="flex flex-wrap gap-2">
                    <span class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm">黑色</span>
                    <span class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm">皮质</span>
                    <span class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm">长款</span>
                    <span class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm">折叠式</span>
                    <span class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm">Coach品牌</span>
                </div>
            </div>

            <div class="mt-6">
                <h3 class="text-lg font-semibold mb-3">拾取位置详情</h3>
                <div class="flex items-start">
                    <i class="fas fa-map-marker-alt fa-icon w-5 h-5 text-primary mt-1 mr-2"></i>
                    <div>
                        <p class="font-medium">图书馆三楼自习区 靠窗第三排座位</p>
                        <button class="mt-2 text-primary text-sm flex items-center">
                            <span>查看地图位置</span>
                            <i class="fas fa-external-link-alt fa-icon w-3 h-3 ml-1"></i>
                        </button>
                    </div>
                </div>
            </div>

            <div class="mt-6">
                <h3 class="text-lg font-semibold mb-3">拾取时间详情</h3>
                <div class="flex items-start">
                    <i class="fas fa-clock fa-icon w-5 h-5 text-primary mt-1 mr-2"></i>
                    <div>
                        <p class="font-medium">2023年11月15日 星期三 下午1:45</p>
                        <p class="text-gray-500 text-sm mt-1">拾取时周围没有其他同学</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- 发布者信息 -->
        <div class="px-6 mt-8 bg-white rounded-lg shadow-sm p-4">
            <h3 class="text-lg font-semibold mb-3">发布者信息</h3>
            <div class="flex items-center">
                <div class="w-12 h-12 rounded-full bg-gray-200 overflow-hidden">
                    <img src="https://ai-public.mastergo.com/ai/img_res/a81a7a684714dcd694ee1aeab811b9e1.jpg" 
                         alt="发布者头像" class="w-full h-full object-cover">
                </div>
                <div class="ml-3">
                    <div class="flex items-center">
                        <p class="font-medium">张雨晴</p>
                        <span class="ml-2 px-2 py-0.5 bg-blue-100 text-blue-600 text-xs rounded-full">学生</span>
                    </div>
                    <div class="flex items-center mt-1">
                        <div class="flex">
                            <i class="fas fa-star fa-icon w-3 h-3 text-yellow-400"></i>
                            <i class="fas fa-star fa-icon w-3 h-3 text-yellow-400"></i>
                            <i class="fas fa-star fa-icon w-3 h-3 text-yellow-400"></i>
                            <i class="fas fa-star fa-icon w-3 h-3 text-yellow-400"></i>
                            <i class="fas fa-star fa-icon w-3 h-3 text-yellow-400"></i>
                        </div>
                        <span class="text-gray-500 text-xs ml-1">(12次成功归还)</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- 温馨提示 -->
        <div class="px-6 mt-6 bg-blue-50 rounded-lg p-4">
            <h3 class="text-lg font-semibold mb-2 text-blue-800">温馨提示</h3>
            <p class="text-blue-700 text-sm leading-relaxed">
                认领物品时请携带有效身份证件，并准确描述物品特征。为保护隐私，请不要在公共场合透露钱包内的个人信息。如有疑问可联系发布者确认。
            </p>
        </div>

        <!-- 相似物品推荐 -->
        <div class="px-6 mt-8">
            <h3 class="text-lg font-semibold mb-4">相似物品</h3>
            <div class="grid grid-cols-2 gap-4">
                <div class="bg-white rounded-lg shadow-sm overflow-hidden">
                    <div class="h-32 bg-gray-200">
                        <img src="https://ai-public.mastergo.com/ai/img_res/ca80877c8e08e18e08949fbae396c9eb.jpg" 
                             alt="相似物品" class="w-full h-full object-cover">
                    </div>
                    <div class="p-3">
                        <p class="font-medium truncate">棕色皮质钱包</p>
                        <p class="text-gray-500 text-sm mt-1">拾取于 食堂二楼</p>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-sm overflow-hidden">
                    <div class="h-32 bg-gray-200">
                        <img src="https://ai-public.mastergo.com/ai/img_res/71d017bc342e3ce8d6d6065831bc6153.jpg" 
                             alt="相似物品" class="w-full h-full object-cover">
                    </div>
                    <div class="p-3">
                        <p class="font-medium truncate">黑色卡包</p>
                        <p class="text-gray-500 text-sm mt-1">拾取于 教学楼B座</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部操作栏 -->
    <div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200 py-3 px-6">
        <div class="max-w-4xl mx-auto flex justify-between items-center">
            <div class="flex space-x-4">
                <button class="text-gray-600 hover:text-primary">
                    <i class="far fa-heart fa-icon w-5 h-5"></i>
                </button>
                <button class="text-gray-600 hover:text-primary">
                    <i class="fas fa-share-alt fa-icon w-5 h-5"></i>
                </button>
            </div>
            <div class="flex space-x-3">
                <button class="px-4 py-2 bg-gray-100 text-gray-700 rounded-button hover:bg-gray-200 whitespace-nowrap">
                    <i class="fas fa-comment fa-icon w-4 h-4 mr-2"></i>
                    联系发布者
                </button>
                <button class="px-6 py-2 bg-primary text-white rounded-button hover:bg-blue-600 whitespace-nowrap">
                    <i class="fas fa-check fa-icon w-4 h-4 mr-2"></i>
                    我是失主
                </button>
            </div>
        </div>
    </div>
</body>
</html>